import $http from '@/common/api/request.js'
export default{
	getTitleList(){
		return $http.request({
			url:'/index/titleList',
			method:'GET'
			});
	},
	getData(id){
		return $http.request({
			url:`/index/getData/${id}`,
			method:'POST'
		});
	},
	getShopData(){
		return $http.request({
			url:'/index/getShops',
			method:'get'
			});
	},
	getRandGoodData(){
		return $http.request({
			url:'/findex/getGoodDatas',
			method:'get'
			});
	}
}